{extend name="public/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
	</header>
	<div class="main-box-body clearfix">
		<div class="table-responsive">
			<table class="table user-list table-hover">
				<thead>
					<tr>
						<th>
							<span>ID</span>
						</th>
						<th>
							<span>昵称</span>
						</th>
						<th>
							<span>性别</span>
						</th>
						<th>
							<span>地区</span>
						</th>
						<th>
							<span>宠物数</span>
						</th>
                        <th>
							<span>加入时间</span>
						</th>
					</tr>
				</thead>
				<tbody>
					{volist name="list" id="item"}
					<tr>
						<td>
							<span class="user-subhead">{$item['id']}</span>
						</td>
						<td>
							<span><image src="{$item['avatar']}" width="50" height="50" />&nbsp;&nbsp;&nbsp;&nbsp;{$item['nickname']}</span>
						</td>
                        <td>
							<span >{$item['nickname']}</span>
						</td>
                        <td>
							<span >{$item['nickname']}</span>
						</td>
                        <td>
							<span >{$item['id']|counUserPets}</span>
						</td>
                        <td>
							<span >{$item['create_time']|date='Y-m-d H:i:s',###}</span>
						</td>
					</tr>
					{/volist}
				</tbody>
			</table>
			{$page}
		</div>
	</div>
</div>
{/block}
